package command.java8;

import java.util.ArrayList;
import java.util.List;

public class Macro {

    private final List actions;

    public Macro(List actions) {
        this.actions = new ArrayList();
    }

    public void record(Action action) {
        actions.add(action);
    }

    public void run() {
        //actions.forEach(Action::perform);
    }
}
